package com.xk857.pojo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author CV大魔王
 * @Description 天气请求类
 * @date 2021/3/2 21:07
 */
@ApiModel("天气请求类")
@Data
public class WeatherREQ {


    @NotNull
    @ApiModelProperty(value = "城市",required = true)
    private String city;

    @NotNull
    @ApiModelProperty(value = "年月，例202001",required = true)
    private String date;

    @NotNull
    @ApiModelProperty(value = "省份",required = true)
    private String prov;
}
